MailPoet\Cron\Workers\SendingQueue\Tasks\Newsletter S

Total Complexity 45
Dependencies 27
Dependents 2
Total lines 322
Lines of code 220
Logical lines of code 109
Comment lines 45
Methods 8
Properties 14

Methods 8

Method Rating Maintainability Complexity Lines of code
preProcessNewsletter()
B
37 14 81
getNewsletterFromQueue()
A
52 10 24
calculateCampaignId()
S
54 6 21
__construct()
S
51 5 28
recoverFromInvalidState()
S
60 4 14
prepareNewsletterForSending()
S
50 2 34
markNewsletterAsSent()
S
63 3 11
stopNewsletterPreProcessing()
S
70 1 7